﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGG
{
    public class Mode
    {
        private string m_name = "";
        private ConsoleKey m_associatedKey = ConsoleKey.NoName;
        private IModeFormatter m_modeFormatter;

        public IModeFormatter ModeFormatter
        {
            get { return m_modeFormatter; }
            set { m_modeFormatter = value; }
        }

        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        public ConsoleKey AssociatedKey
        {
            get { return m_associatedKey; }
            set { m_associatedKey = value; }
        }

        public Mode(string name, ConsoleKey associatedKey, IModeFormatter modeFormatter)
        {
            m_name = name;
            m_associatedKey = associatedKey;
            m_modeFormatter = modeFormatter;
        }
    }
}
